projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48afa9c
)
(rmail-output-read-rmail-file-name): If in
author
Karl Heuer
<kwzh@gnu.org>
Sun, 13 Jun 1999 02:35:37 +0000
(
02:35
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sun, 13 Jun 1999 02:35:37 +0000
(
02:35
+0000)
rmail-summary buffer, search for pattern in rmail-file.
lisp/mail/rmailout.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmailout.el
b/lisp/mail/rmailout.el
index 6b32c055839941ac032bf8911aed0620082dbcb5..c9232401133edf10fcbc50a7568ae9daf932d080 100644
(file)
--- a/
lisp/mail/rmailout.el
+++ b/
lisp/mail/rmailout.el
@@
-50,6
+50,8
@@
Set `rmail-default-rmail-file' to this name as well as returning it."
;; Suggest a file based on a pattern match.
(while (and tail (not answer))
(save-excursion
+ (if (eq major-mode 'rmail-summary-mode)
+ (set-buffer rmail-buffer))
(goto-char (point-min))
(if (re-search-forward (car (car tail)) nil t)
(setq answer (eval (cdr (car tail)))))